|
RAIS
3.2
|
This class implements UI Common methods for localisation. More...
Classes | |
| class | Page |
| This class implements localisation Page class. More... | |
Static Public Member Functions | |
| static void | InitializeContextsList (ListItemCollection items) |
| This method implements initialization of translation context items. | |
| static void | InitializeCulturesList (DropDownList list) |
| This method implements initialization of culture selection items. | |
| static void | InitializeLanguagesSelection (ListItemCollection items) |
| This method implements initialization language selection items. | |
| static void | CleanTranslations (System.Web.SessionState.HttpSessionState session) |
| This method performs clean-up of page translation for bringing the translated state to the initial language. | |
| static void | TranslatePage (System.Web.UI.Page page) |
| This method performs translation of a child controls' captions of the supplied page from English into the current user's language. | |
| static void | TranslatePageToLanguage (System.Web.UI.Page page, string targetLanguage) |
| This method performs translation of a child controls' captions of the supplied page from English into the specified language. | |
| static void | TranslateCaptions (ControlCollection controls, string sourceLanguage, string targetLanguage) |
| This method performs translation of a supplied control's captions from source language into the specified target language. | |
| static void | TranslateGridViewHeader (GridView GV, string translationContext, string sourceLanguage, string targetLanguage) |
| static void RAIS::UI::Common::Localisation::CleanTranslations | ( | System.Web.SessionState.HttpSessionState | session | ) | [static] |
This method performs clean-up of page translation for bringing the translated state to the initial language.
Definition at line 158 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::InitializeContextsList | ( | ListItemCollection | items | ) | [static] |
This method implements initialization of translation context items.
| list | Drop-down list of available contexts |
Definition at line 72 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::InitializeCulturesList | ( | DropDownList | list | ) | [static] |
This method implements initialization of culture selection items.
| list | Drop-down list of available cultures |
Definition at line 98 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::InitializeLanguagesSelection | ( | ListItemCollection | items | ) | [static] |
This method implements initialization language selection items.
| items | Items colleciton to be populated |
Definition at line 146 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::TranslateCaptions | ( | ControlCollection | controls, |
| string | sourceLanguage, | ||
| string | targetLanguage | ||
| ) | [static] |
This method performs translation of a supplied control's captions from source language into the specified target language.
| controls | Controls' collection to be translated |
| sourceLanguage | Source language |
| targetLanguage | Target language |
Definition at line 212 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::TranslateGridViewHeader | ( | GridView | GV, |
| string | translationContext, | ||
| string | sourceLanguage, | ||
| string | targetLanguage | ||
| ) | [static] |
Definition at line 302 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::TranslatePage | ( | System.Web.UI.Page | page | ) | [static] |
This method performs translation of a child controls' captions of the supplied page from English into the current user's language.
| page | Page to be translated |
Definition at line 172 of file Localisation.cs.
| static void RAIS::UI::Common::Localisation::TranslatePageToLanguage | ( | System.Web.UI.Page | page, |
| string | targetLanguage | ||
| ) | [static] |
This method performs translation of a child controls' captions of the supplied page from English into the specified language.
| page | Page to be translated |
| targetLanguage | Target language |
Definition at line 184 of file Localisation.cs.